package com.baizhi.springmvc.entity;

import java.io.Serializable;

public class Item implements Serializable {
    private Book book;
    private Integer count;
    private Integer item_id;
    private Integer book_id;
    private Double dang_price;
    private Integer order_id;

    @Override
    public String toString() {
        return "Item{" +
                "book=" + book +
                ", count=" + count +
                ", item_id=" + item_id +
                ", book_id=" + book_id +
                ", dang_price=" + dang_price +
                ", order_id=" + order_id +
                '}';
    }

    public Book getBook() {
        return book;
    }

    public void setBook(Book book) {
        this.book = book;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getItem_id() {
        return item_id;
    }

    public void setItem_id(Integer item_id) {
        this.item_id = item_id;
    }

    public Integer getBook_id() {
        return book_id;
    }

    public void setBook_id(Integer book_id) {
        this.book_id = book_id;
    }

    public Double getDang_price() {
        return dang_price;
    }

    public void setDang_price(Double dang_price) {
        this.dang_price = dang_price;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }
}
